<%@page import="board.Board"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src='./board/board.js'></script>
</head>
<body>
<jsp:useBean id="boardVo" class="board.BoardVo"/>
<%
boardVo.setRequest(request);
Board board = new Board();
board.setVo(boardVo);

%>


<%
if(board.modify()){%>
	<div id='bb_title'>수정에 성공하였습니다.</div><br/>
	<script>
		alert("수정에 성공하였습니다.");
		location.href="index.jsp?inc_contents=./board/list.jsp";
	</script>	
<%}else{
	%>
		<div id='bb_title'>수정에 실패 하였습니다.</div><br/>
	<%
}

%>


	<input type='button' value='목록' id="brd_btnList">
</body>
</html>